<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('检测机构基本详情')" />
	<th:block th:include="include :: datetimepicker-css" />
	<th:block th:include="include :: footer" />
	<th:block th:include="include :: datetimepicker-js" />
</head>
<body class="white-bg">
<ul class="nav nav-tabs">
	<li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true">基本信息</a>
	</li>
	<li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">从业人员</a>
	</li>
	<li class=""><a data-toggle="tab" href="#tab-3" aria-expanded="false">仪器设备</a>
	</li>
	<li class=""><a data-toggle="tab" href="#tab-4" aria-expanded="false">资质等级</a>
	</li>
</ul>
    <div class="tab-content wrapper wrapper-content animated fadeInRight ibox-content">
		<div id="tab-1" class="tab-pane active">
        <form class="form-horizontal m" id="form-tJcJcjg-edit" th:object="${tJcJcjg}">
            <input id="jcjgId" name="jcjgId" th:field="*{jcjgId}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">信用代码：</label>
				<div class="col-sm-8">
					<input id="code" name="code" th:field="*{code}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">监测机构名称：</label>
				<div class="col-sm-8">
					<input id="agencyName" name="agencyName" th:field="*{agencyName}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">经济性质：</label>
				<div class="col-sm-8">
					<input id="economicNature" name="economicNature" th:field="*{economicNature}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">法人代表：</label>
				<div class="col-sm-8">
					<input id="legalRepresentative" name="legalRepresentative" th:field="*{legalRepresentative}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">身份证：</label>
				<div class="col-sm-8">
					<input id="idCard" name="idCard" th:field="*{idCard}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">单位地址：</label>
				<div class="col-sm-8">
					<input id="address" name="address" th:field="*{address}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">所属行政区：</label>
				<div class="col-sm-8">
					<input id="district" name="district" th:field="*{district}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">邮政编码：</label>
				<div class="col-sm-8">
					<input id="emailCode" name="emailCode" th:field="*{emailCode}" class="form-control" type="text" readonly >
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">成立日期：</label>
				<div class="col-sm-8">
					<input id="date" name="date" th:value="${#dates.format(tJcJcjg.date,'yyyy-MM-dd')}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">联系人：</label>
				<div class="col-sm-8">
					<input id="tellMan" name="tellMan" th:field="*{tellMan}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">联系职务：</label>
				<div class="col-sm-8">
					<input id="tellPosition" name="tellPosition" th:field="*{tellPosition}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">联系电话：</label>
				<div class="col-sm-8">
					<input id="tellPhone" name="tellPhone" th:field="*{tellPhone}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">传真：</label>
				<div class="col-sm-8">
					<input id="fax" name="fax" th:field="*{fax}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">邮箱：</label>
				<div class="col-sm-8">
					<input id="email" name="email" th:field="*{email}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">单位网址：</label>
				<div class="col-sm-8">
					<input id="organizationUrl" name="organizationUrl" th:field="*{organizationUrl}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<input id="remarks" name="remarks" th:field="*{remarks}" class="form-control" type="text" readonly>
				</div>
			</div>
		</form>
		</div>
		<div id="tab-2" class="tab-pane ">从业人员数据</div>
		<div id="tab-3" class="tab-pane ">仪器设备数据</div>
		<div id="tab-4" class="tab-pane ">资质等级数据</div>
    </div>
    <script type="text/javascript">
		var prefix = ctx + "system/tJcJcjg";
		$("#date").datetimepicker({
			format: "yyyy-mm-dd",
			minView: "month",
			autoclose: true
		});
		$("#form-tJcJcjg-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
	</script>
</body>
</html>
